// 标题组件

<template>
  <div class="banxin bg">
    <h2 class="info tit">{{msg.title}}</h2>
    <p class="info">{{msg.info}}</p>
  </div>
</template>

<script>
export default {
    name : 'TitleComponent',
    data(){
        return {

        }
    },
    props: ['msg']
}
</script>

<style scoped lang="less">
    .bg {
        width: 100%;
        background-color: rgb(220, 236, 249);
        min-width: 1002px;
    }
    .info {
        font-family: 'myFont';
        color : black;
        text-align: center;
    }
    .tit {
        padding: 20px;
        font-size: 40px;

    }
</style>